<!-- js validate form  -->
<script type="text/javascript">
$(document).ready(function() {
	$("#add").validate();		
});	
$.metadata.setType("attr", "validate");
</script>
            <div class="header2">
                <p class="pHead"><?php echo $title;?></p>
                <img src="images/icon/back.png" class="iconBack" alt="icon" />
                <span class="back"><a href="#">Quay lại trang trước</a></span>
            </div>
            
            <form method="POST" action="<?php echo base_url();?>back_end/category_news/add" name="add" id="add">
            <div class="contentMain">
            	<div class="contentSearch">            	
            	<table class="tableSearch">
                	<tr>
                    	<td class="tdSearch">Tên danh mục tin tức:</td>
                    	<td class="tdSearch2">
                    		<input type="text" class="required inputText" id="name" name="name"/>
                    	</td>
                    </tr>
                    <tr>
                    	<td class="tdSearch">Danh mục cha:</td>
                    	<td class="tdSearch2">
                    		<select name="parent_id" class="selectText">
                            	<option value="0">------------------------- Chọn danh mục tin tức -------------------------</option>
                            	<?php foreach ($list_menu as $key=>$value) {?>
									<option value="<?php echo $key; ?>"><?php echo $value; ?></option>		                            	
                           		<?php }?>
                            </select>
                    	</td>
                    </tr>
                	<tr>
                    	<td class="tdSearch">Alias:</td>
                    	<td class="tdSearch2"><input type="text" class="inputText" name="alias" /></td>
                    </tr>
                    <tr>
                    	<td class="tdSearch">Trạng thái:</td>
                    	<td><input type="checkbox" value='1' name="status" class="inputCheck"></td>
                    </tr>
                	<tr>
                    	<td class="tdSearch">&nbsp;</td>
                    	<td class="tdSearch2">                        	
                            <div class="searchbutton">
                                    <input type="submit" class="buttonSM" value="Add" name="addform" />
                            </div><!-- end searchbutton -->                      	
                            <div class="searchbutton searchReset" >
                                    <input type="reset" class="buttonSM"  value="Reset" name="reset" />
                            </div><!-- end searchbutton -->
                        </td>
                    </tr>
                </table>
            </div><!-- end contentSearch -->
            </div><!-- end contentMain -->
            </form>